<!-- Begin page content -->
<meta charset="UTF-8">
<main role="main" class="container">
    <div class="row justify-content-md-center mt-5">
        <div class="col-md-4 col-md-offset-4">
            <div class="panel panel-default">
                <div class="panel-heading mb-4">
                    <h3 class="panel-title">帐号登录 Please sign in</h3>
                </div>
                <div class="panel-body">
                    <?php isset($message) && print($message); ?>
                    <form accept-charset="UTF-8" role="form" method="post" action="<?php echo BASE_URL; ?>/login/post">
                        <fieldset>
                            <div class="form-group">
                                <input class="form-control <?php isset($emailHighlight) && print($emailHighlight); ?>" placeholder="邮件 E-mail" name="email" type="text" value="<?php isset($emailValue) && print($emailValue); ?>">
                                <?php isset($emailError) && print($emailError); ?>
                            </div>
                            <div class="form-group">
                                <input class="form-control <?php isset($passwordHighlight) && print($passwordHighlight); ?>" placeholder="请输入密码 Password" name="password" type="password" value="">
                                <?php isset($passwordError) && print($passwordError); ?>
                            </div><!--
                            <div class="checkbox">
                                <label>
                                    <input name="remember" type="checkbox" value="Remember Me">记住我 Remember Me
                                </label>
                            </div>-->
                            <input class="btn btn-lg btn-success btn-block" type="submit" value="登录 Login"><!--
                            <a href="#" class="forgot-password">
                                忘记密码 Forgot the password?
                            </a>-->
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
    </div>
</main>